package com.example.demo;

import org.apache.catalina.core.ApplicationContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.Resource;
import javax.swing.*;

@SpringBootApplication
public class DemoApplication {

  @Resource
  public static ApplicationContext applicationContext;

  public static void main(String[] args) {
    SpringApplication.run(DemoApplication.class, args);

  }

}
